﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Utility
{
    public static class DataConstants
    {
        public const int MSG_SIZE = 1500; /* least size, double for 5 iterations. Max size 65K (actually 49152). 1500 length string= 3020 bytes  */
        public const int MSG_COUNT_SMALL = 200;
        public const int MSG_COUNT_LARGE = 20000;
        public const int BLOB_SIZE = 1 * 10 * 1024;/* Shoud be divisible by 512 */
        public const int TABLE_ENTITY_SIZE = 2 * 1024; /*  4KB to start. Doubles for 5 iterations */
        public const int TABLE_COUNT = 500;
        public const int SINGLE_PAGE_SIZE = 1 * 1 * 1024;
        public const int BLOCK_SIZE = 1 * 1 * 1024; /* 4 MB per block */
        public const int QUEUE_BW_LIMIT = 500; /* Queue can handle only 500 messages per second */
        public const int THINK_TIME = 1000; /* Think time for Queues, starts at 1 second */
        public const int SQL_RECORDS = 1000; /* Number of records to be inserted or deleted */
        public const int SQL_DATA_SIZE = 128; /* characters per record */

        public const string SQL_TABLE = "benchsqltable";
        public const string BENCH_TABLE = "benchtable";
        public const string BENCH_QUEUE = "benchqueue";
        public const string BLOB_CONTAINER = "azurebench";
        public const string BENCH_PAGE_BLOB = "azurebenchpage";
        public const string BENCH_BLOCK_BLOB = "azurebenchblock";
        public const string RESULT_QUEUE = "results";
        public const string INPUT_PARAS = "inputqueue";
        public const string WORKER_TERMINATION_INDICATOR = "benchtermination";
    }
}
